package ccnt.pvc.scudwaremobile.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import ccnt.pvc.scudwaremobile.dao.ServiceModel;

public class ScudRequest implements Serializable, Cloneable {
	
	public final static String ACTION_REGISTER = "register";
	public final static String ACTION_UNREGISTER = "unregister";
	public final static String ACTION_REQUEST = "request";
	public final static String ACTION_QUERY = "query";
	
	private static final long serialVersionUID = 1L;
	private String action;
	private String registerName;
	private List<ServiceModel> services = new ArrayList<ServiceModel>();
	
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getRegisterName() {
		return registerName;
	}
	public void setRegisterName(String registerName) {
		this.registerName = registerName;
	}
	public List<ServiceModel> getServices() {
		return services;
	}
	public void setServices(List<ServiceModel> services) {
		this.services = services;
	}
	public void addService(ServiceModel service) {
		services.add(service);
	}
}
